<template>
  <div class="app-container">
    <router-view />
  </div>
</template>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f2f5;
  color: #333;
}

:root {
  --primary-color: #409EFF;
  --success-color: #67C23A;
  --warning-color: #E6A23C;
  --danger-color: #F56C6C;
  --info-color: #909399;
  --text-primary: #303133;
  --text-regular: #606266;
  --text-secondary: #909399;
  --border-color: #DCDFE6;
  --border-light: #E4E7ED;
  --background-color: #f0f2f5;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --transition-time: 0.3s;
}

.app-container {
  height: 100vh;
  width: 100%;
}

/* 全局过渡效果 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity var(--transition-time);
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* 全局按钮样式增强 */
.el-button {
  transition: all 0.25s ease;
}
.el-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 全局卡片样式增强 */
.el-card {
  border-radius: 8px;
  border: none;
  box-shadow: var(--card-shadow) !important;
  transition: all var(--transition-time);
}
.el-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1) !important;
}

/* 全局输入框样式增强 */
.el-input__inner {
  transition: all var(--transition-time);
}
.el-input__inner:focus {
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}
</style>